package cn.caplike.demo.shiro.eventbus;

/**
 * Description: 事件.
 *
 * @author LiKe
 * @version 1.0.0
 * @date 2021-06-04 14:17
 */
public class PizzaAvailableEvent {

    private final String topic;

    public PizzaAvailableEvent(String topic) {
        this.topic = topic;
    }

    public String getTopic() {
        return "Pizza: " + topic;
    }
}
